package com.ztesoft.report.dao;

import com.ztesoft.report.base.dao.BaseMapper;
import com.ztesoft.report.entity.Dashboard;
import com.ztesoft.report.entity.ServiceInterface;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务接口表 Mapper 接口
 * </p>
 *
 * @author y3tu
 * @since 2018-06-21
 */
public interface ServiceInterfaceDao extends BaseMapper<ServiceInterface> {


    int getNoPassCount(Integer id);

    void publishReport(Map<String, Object> map);

    List<Dashboard> listDashboard();

    List<Dashboard> listErrOrSue(@Param("createtime") String createtime,@Param("updatetime") String updatetime);

    List<ServiceInterface> getServiceInterfaceList(Map<String, Object> param);

    Map<String,Object> listDashboardByLines();

    void updateServiceInterface(ServiceInterface serviceInterface);
}